package com.josework.springhelloworld.list.filter;

import com.josework.springhelloworld.list.entity.Employee;

public class FilterBySalary implements MyPredicate{
    @Override
    public boolean test(Employee emp) {
        return emp.getSalary() > 6000;
    }
}
